package com.google.jessewilson.codesearch.api;

import ca.odell.glazedlists.EventList;
import com.google.jessewilson.codesearch.util.Progress;
import com.google.jessewilson.codesearch.util.Resource;
import com.google.jessewilson.codesearch.api.ResultsPopulator;

/**
 * The results from a query or a collection of queries.
 *
 * @author jessewilson
 */
public interface QueryResponse extends Resource {

  public EventList<Line> getLines();

  public String getShortDescription();

  public Progress getProgress();

  public ResultsPopulator getResultsPopulator();
}
